<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport"
        content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
  <title>test</title>
</head>
<body>
<div id="app">
  <div>{{a}}</div>
  <img style="width: 200px" src="https://tkmcn.oss-cn-hangzhou.aliyuncs.com/2022/6/16/07377b34eebc4e9a9a199d1a6a02a0cb.png" v-img-preview>
</div>
<script src="https://static-cloud.oss-cn-hangzhou.aliyuncs.com/js/vue.js"></script>
<script type="module">
  import './imgPreview.js';
  Vue.use(imgPreview);
  new Vue({
    el: '#app',
    data: {
      a: 123
    }
  })
</script>
</body>
</html>
